<script setup>
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <div class="app-container">
    <HelloWorld msg="You did it!" />
  </div>
</template>

<style scoped>
/* 确保html和body占据全屏 */
:root {
  margin: 0;
  padding: 0;
  height: 100%;
}

.app-container {
  /* 使容器铺满整个视口 */
  width: 100vw;
  height: 100vh;
  min-height: 100vh;

  /* 移除默认边距 */
  margin: 0;
  padding: 0;

  /* 确保没有滚动条 */
  overflow: hidden;
}
</style>
